package model;

import modelDeLivreur.GDParser;
import utils.UrlUtils;
import viewDeLivreur.VueCarteDirections;

public class Test {
	
	public static void main(String[] args) throws Exception{
		String start = "39 gauthier, dollard-des-ormeaux, quebec, h9g1z6, canada";
		String end = "4649 de la peltrie, montreal, quebec, h3w1k4, canada";
		String wayPoint = "8570 bloomfield, montreal, quebec, h3n2j3, canada";
		
		String urlDrivingDirections = UrlUtils.getDrivingDirectionsUrlStr(start, end, wayPoint);
		TravelPath tp = new GDParser().getTravelPath(urlDrivingDirections);
		String urlStaticMap = UrlUtils.getUrlStrStaticMap(tp);
		
		VueCarteDirections disp = new VueCarteDirections(urlStaticMap, tp);
	}

}
